package com.lebang.mapper.ybd;

import com.lebang.domain.ybd.MemberGoldConfig;
import com.lebang.example.ybd.MemberGoldConfigExample;
import com.lebang.mapper.MyBatisBaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemberGoldConfigMapper extends MyBatisBaseDao<MemberGoldConfig,Integer, MemberGoldConfigExample> {
    long countByExample(MemberGoldConfigExample example);

    int deleteByExample(MemberGoldConfigExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MemberGoldConfig record);

    int insertSelective(MemberGoldConfig record);

    List<MemberGoldConfig> selectByExample(MemberGoldConfigExample example);

    MemberGoldConfig selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MemberGoldConfig record, @Param("example") MemberGoldConfigExample example);

    int updateByExample(@Param("record") MemberGoldConfig record, @Param("example") MemberGoldConfigExample example);

    int updateByPrimaryKeySelective(MemberGoldConfig record);

    int updateByPrimaryKey(MemberGoldConfig record);
}